<template>
    <section>
      <div class="footer nav navbar-fixed-bottom">
        <router-link :to="{name:'takeaway'}">
          <i class="iconfont right">&#xe6b0;</i>
          <div>外卖</div>
        </router-link>
        <router-link :to="{name:'search'}">
          <i class="iconfont right">&#xe600;</i>
          <div>搜索</div>
        </router-link>
        <router-link :to="{name:'indent'}">
          <i class="iconfont right">&#xe60c;</i>
          <div>订单</div>
        </router-link>
        <router-link :to="{name:'mineed'}">
          <i class="iconfont right">&#xe602;</i>
          <div>我的</div>
        </router-link>
      </div>
      <router-view></router-view>
    </section>
</template>

<script>
    export default {
        name: "foot"
    }
</script>

<style scoped>
  .footer{
    width:100%;
    height: 0.6rem;
    display: flex;
    justify-content: space-around;
    /*margin-bottom:0.15rem ;*/
    background-color: whitesmoke;
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:0.26rem;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    float:left;
  }
</style>
